import request from '@/utils/request'

export const getAllApi = (customerId, invoiceCode, skuId, pageNum, pageSize) => {
  return request.get(`/outboundOrderPackage?customerId=${customerId}&invoiceCode=${invoiceCode}&skuId=${skuId}&pageNum=${pageNum}&pageSize=${pageSize}`)
}

export const savePackageApi = (data) => {
  return request.post(`/outboundOrderPackage/savePackage`, data)
}

export const updateByIdApi = (id) => {
  return request.put(`/outboundOrderPackage/updateById/${id}`)
}